package hu.mapro.gwtui.client.model;

import com.google.gwt.cell.client.Cell;
import com.google.gwt.cell.client.NumberCell;

public abstract class NumberProperty<T, N extends Number> extends AbstractDisplayableProperty<T, N> {

	public NumberProperty(String propertyName, String label,
			DisplaySize displaySize) {
		super(propertyName, label, displaySize);
	}

	public NumberProperty(String propertyName, String label) {
		super(propertyName, label);
	}

	@Override
	public Cell<? super N> getDisplayField() {
		return new NumberCell();
	}

}
